-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix: Chat UI consistency and layout shifts #5237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Chat UI consistency and layout shifts #5237
Conversation
…ChatTextArea components
-fixes the buttons on the right edge of task items being hidden too early when initial message of that task was too long/big
|
Hey @seedlord, thanks for the contribution! I didn’t notice anything off with the changes, but could you add some before-and-after screenshots to help visualize the impact a bit better? Also, did you test the changes across different screen widths? We want to make sure there are no layout overflows on smaller viewports. Let me know what you think! |
daniel-lxs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @seedlord!
LGTM



Related GitHub Issue
Closes: #5236
Description
This PR fixes several UI inconsistencies and layout shifting issues in the chat view to create a more stable and polished user experience.
The key problems addressed are:
Test Procedure
Changes Made
webview-ui/src/components/chat/ChatView.tsx:<VSCodeButton>withappearance="secondary".webview-ui/src/components/chat/ChatTextArea.tsx:gapandpaddingfor a more consistent and tighter layout.webview-ui/src/components/chat/AutoApproveMenu.tsx:paddingto fix vertical alignment issues.webview-ui/src/components/history/TaskItem.tsx:These changes result in a visually stable and consistent chat interface.
Pre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch
Important
Fixes UI inconsistencies and layout shifts in chat interface by standardizing button styles and adjusting spacing in
ChatView.tsx,ChatTextArea.tsx,AutoApproveMenu.tsx, andTaskItem.tsx.ChatView.tsxby refactoring bottom action bar logic.<VSCodeButton>withappearance="secondary".ChatTextArea.tsxandAutoApproveMenu.tsx.gapandpaddinginChatTextArea.tsxfor tighter layout.paddinginAutoApproveMenu.tsxfor vertical alignment.min-w-0class toTaskItem.tsxfor better layout handling.ChatView.tsxbased on message size.This description was created by
for 0b82c79. You can customize this summary. It will automatically update as commits are pushed.